import {Button, StyleSheet, Text, View} from 'react-native';
import TakeItem from "../components/TakeItem";
import React, {useEffect} from "react";
import TakeForm from "../components/TakeForm";

export default function Take({navigation}) {
    useEffect(()=>{
        navigation.setOptions({title: '商品类目1'});
    },[])
    return (
        <View style={styles.take}>
            <View style={styles.takeItem}>
                <TakeItem />
            </View>

            <View style={{height:180,width:'96%',marginBottom:20}}>
                <TakeForm />
            </View>

            <View style={{height:180,width:'96%'}}>
                <TakeForm />
            </View>


        </View>
    )
}

const styles = StyleSheet.create({
    take:{
        flex:1,
        flexDirection:"column",
        alignItems:"center",
    },
    takeItem:{
        marginTop:10,
        width:'96%',
        minHeight:100,
        height:"auto",
        marginBottom:20
    }


});